<div class="blade-content">
  <div class="blade-inner">
    <div class="inner-block">
      <div class="table-wrapper">
        <p-treeTable [value]="files" selectionMode="single" (onNodeSelect)="onNodeSelect($event)" [(selection)]="selectedFile">

          <p-column field="isChecked" header="选择">
            <ng-template let-node="rowData" pTemplate="body">
              <label class="form-control __checkbox">
                <input (click)="onItemCheack($event.target,node.data)" type="checkbox"  [checked]="node.data.isChecked">
                <span class="check"></span>
             </label>
            </ng-template>
          </p-column>

          <!--<p-column field="menuIcon" header="图标">
            <ng-template let-node="rowData" pTemplate="body">
              <span class="material-icons">{{node.data.menuIcon}}</span>
            </ng-template>
          </p-column>-->

          <p-column field="companyName" header="名称"></p-column>
          <!--<p-column field="menuSeq" header="排序"></p-column>-->

        </p-treeTable>

        <!--<div id="tree">
          <ul>
            <li *ngFor="let company of companys let i =index">
              <span class="item" (click)="onSelect(company)" [ngClass]="{'__selected': currentCompany?.companyId == company.companyId}">
              {{company.companyName}}</span>
              <ul>
                <li *ngFor="let company of company.children let i =index">
                  <span class="item" (click)="onSelect(company)" [ngClass]="{'__selected': currentCompany?.companyId == company.companyId}">{{company.companyName}}</span>
                  <ul>
                    <li *ngFor="let company of company.children let i =index">
                      <span class="item" (click)="onSelect(company)" [ngClass]="{'__selected': currentCompany?.companyId == company.companyId}">
                      {{company.companyName}}</span>
                    </li>
                  </ul>
                </li>
              </ul>
            </li>
          </ul>
        </div>-->

      </div>
    </div>
  </div>
</div>